# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pronouncing
pkgver=0.2.0
pkgrel=6
pkgdesc="A simple interface for the CMU pronouncing dictionary"
url="https://github.com/aparrish/pronouncingpy"
arch="noarch"
license="BSD-3-Clause"
depends="
	py3-cmudict
	py3-setuptools
	"
checkdepends="py3-pytest"
subpackages="$pkgname-pyc"
source="https://pypi.python.org/packages/source/p/pronouncing/pronouncing-$pkgver.tar.gz"
builddir="$srcdir/pronouncing-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --skip-build --root="$pkgdir"
}

sha512sums="
a10ceef3e9a6ff0788f5ea6446c81d5c00649d05d085d42074d74aa547edf1b41357792ee532e9e5605ac345f351982c25a26a423e41eda78df921e13d28ebe9  pronouncing-0.2.0.tar.gz
"
